package com.cmbchina.encrypt;

/**
 * @author liuxb
 */
public class SMCryptException extends Exception {
    private final int errorCode;
    private final String errorMsg;

    public SMCryptException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
        this.errorMsg = message;
    }

    public int getErrorCode() {
        return this.errorCode;
    }

    public String getErrorMsg() {
        return this.errorMsg;
    }
}